package io.lckgroup.modules.lck.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import io.lckgroup.common.utils.PageUtils;
import io.lckgroup.modules.lck.entity.CommonFeedbackEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 用户反馈表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:38
 */
public interface CommonFeedbackService extends IService<CommonFeedbackEntity> {

    PageUtils queryPage(Map<String, Object> params);

    IPage<Map<String, Object>> selectCommonFeedback(@RequestParam Map<String, Object> params);

    void updateBatchById(@RequestBody Long[] ids);

    //通过对象来查询数据
    PageUtils queryPageByEntity(CommonFeedbackEntity entity);
}

